package org.csu.newpetstoreback.config;

import lombok.Data;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Data
@Component
public class AliPayConfig {
    //应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String APP_ID="2021000119640732";
    //商户私钥，您的PKCS8格式RSA2私钥
    public static String MERCHANT_PRIVATE_KEY="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCPaQ+d3dIBQ+BpXsOD3V0zdyijHpTGSzteXuXfEUPRRnartUgULOTKWPjxknO0l3rvST9ulrDBn8sgjY9Z13VgdujzAadDJdKdV6Gkkqr/f24QS+uodx9zQYiT74XTb8esklI8wsK/AWqgw1GhpL6U1a4C6dIy5m0zjrI3IAm/YL0A/iV8g9dP7P2hw0s/gAo3SNuew0NUHvZB1pXT3zyEOVXt41vFF59bH9qksgEtJW/WSDrVWiFdCnbujHazxRsgKljJ0D8Ou0EP65DdDd9r7teBZFYwD2ig4BbssxbtkVyiVlNVDF0Kgy2lfxwpTnwLS7jiSj6qKCXvtfSz19bRAgMBAAECggEBAIiGJf3NzDy0F5F4S3zfYfi6uY8Ab/WObUhb405Gq18xS4wPmjzKuEwCA4xGNax4gOoHu0FWZ5MMwl2NJikLOozI5t9gdZExEp4DbLi1f+CXuXn+LKxGK0SX4KOk5KvywA4DhhKd/rPDb3T4PGA768rY2T2gxyD5yH/KmtJrx5vN1oZ+pv9+G0/W0XHWstbAC07hdSdWbyKPHtGYPHZeEWdvy0XexLIm9RWzMK6BlKnfhT2mbbpE76tuDuNJK62iKBNxH0j8UI4+mAPHLLnKdI3qNM6oatGUzV3mlm6dNQHniwdqxyB89jFInlZanjLDL8goIuNadHefPYAk71xrJYECgYEA2fa5+lP1yLrrbjFwJN+HmoflMKZs1Ekh2Rhbr7iFaQryRPfsZjenZZretn8G+kFkoSkL4vY3bCiWbNfWneIvuqVSC8MaG1NxmJ0buarWcnzwcqIxvvjRWcDIKOihNLDwbhgifiZu55pxtebvJ6xIH503qvM3HKcGB6D6ZQcD+QkCgYEAqG/AIx+rxwON96AFIvzmDbiT0J4zIsrz6sNphoxs38kSd974VeaLnRZY3U1adacWzmjHZ2uDJFn5aMLMmXYuSenuPe8i0cNqZHb77G4zZQ3KFUx0A7zgsIPJn1xEF6GwUKbzT7tfIt8p6pK6UH5Mo4iHLadk5xCmhlW/VHwUSYkCgYBr+BwINK770Bvvae3zVgcGNWsCvm4Kem+Z6scANJdhgVqhb25a9Ban7h+Ep0f9j4cZjgulUfICUdix8fkOHI0oF9yclvjHsH4E605gmo/ABsPVBSM/RmHt4+FC4nl4cG2pG6t6ce9eKtNJGCw/qsfPYUHCHNigCNyjyso+YUtGgQKBgD1futsRhz4VBX3dSQHetNT7FKFHg8qBuS8p1SG5uVIxqhETpdlnEChFJEw/C18jayP6+e2tNzPftQl/MZ4ZefRk0PKwWDemxPWmhVU5MnD3/VKVcRCLmjO3UZhHvmf9+ojozG+ZDqleN5/Jpyn9W1+bN+ZiwFmRr5vzUqwuKhZBAoGANkbmaf6f/p5lbPpreiS7LyS23SBA5jeyWKevzjWCBlu0NSoK2pu0GQQ2RAIQycO582mMwQZOt/Gkj62BWWFfv5BNIiWE4HXioSfu189L442ffrWY4Hn1sFmJnQdvZYL05SDXHifdQk9U+4GN/G9vUF+ZIE61czGTWcBvuw2I5SA=";
    //支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String ALIPAY_PUBLIC_KEY="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8+rSdNfISk1asB6JRb2vJUxxR3HFxfr2vT6IMvel3AoT2r/+i4fqoDRDp5GA0fD7ljCtrdmuNIzIGbb5cCSiD4uvlkJ/jQHJ4N1VS3LDHifwIYbmz2Fiv0Z19Pj8dydOEYmGdAAIlEmQp6LDZa7fDYfJoNUwCqY4gRQFmKJ5AJCiRydn5ur/smCm1f0c+oKD/Fns7gMexQBeo7HNS4uOf6/CdD402jO2cCYvMq/Pq0XshrNpKG1GRc/pb/J1DDJW6BwLjpp7pUocjD95imGriy4o6YqH1+j16uyLnkOZ+WlYRgurTdJK7dbOCdSqpMXJLhjDFSTS8ePpNWyRtHKIQIDAQAB";
    //服务器异步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String NOTIFY_URL="http://www.baidu.com";
    //页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
//    public static String RETURN_URL="http://x80f98r0.dongtaiyuming.net/alipay/success";
    public static String RETURN_URL="http://ruiaaaa.gitee.io/newpetstore-front/#/";
    //签名方式
    public static String SIGN_TYPE="RSA2";
    //字符编码格式
    public static String CHARSET="utf-8";
    //支付宝网关(沙盒环境)
    public static String GATEWAY_URL="https://openapi.alipaydev.com/gateway.do";
}
